TNL AVAILABLE

This command will return a value of one if the current device uses hardware TNL.

  Syntax
Return Integer=TNL AVAILABLE()
  Returns

This command will return a value of one if the current device uses hardware TNL. TNL stands for Transformation and Lighting

  Description

TNL stands for Transformation and Lighting. Most cards these days support TNL in hardware as standard.

  Example Code

backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
ObjectNumber=1
load object "models\model.x",ObjectNumber
print "MISC"
print "alphablending available:";alphablending available()
print "filtering available:";filtering available()
print "fog available:";fog available()
print "TnL available:";tnl available()
print "Polys on nscreen:";statistic(1)
while mouseclick()=0
sync
endwhile
while mouseclick()=1:endwhile
delete object ObjectNumber
end
  See also

BASIC3D Commands Menu
Index